/* 
 * File:   project_editor_dialog.hpp
 * Author: jolo
 *
 * Created on 13. Oktober 2011, 15:07
 */

#ifndef GUI_PROJECT_EDITOR_DIALOG_HPP
#define	GUI_PROJECT_EDITOR_DIALOG_HPP

#include <widgets/editor_dialog.hpp>

namespace model
{
    class project;
    typedef shared_ptr<project> project_ptr;
}

namespace gui
{

    class project_editor_dialog : public widgets::editor_dialog
    {
        Q_OBJECT
    public:
        project_editor_dialog(model::project_ptr e, QWidget* p);
        virtual ~project_editor_dialog();
                
    public slots:
        virtual void accept();
        virtual void reject();
        
    protected:
        virtual widgets::data_editor* create_editor();
    };
}
#endif	/* PROJECT_EDITOR_DIALOG_HPP */

